//
//  SEGWinRecordModel.m
//  ExcellentHome
//
//  Created by 揭婧雯 on 2017/8/21.
//  Copyright © 2017年 陈区. All rights reserved.
//

#import "SEGWinRecordModel.h"

@implementation SEGWinRecordModel

- (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    self = [super init];
    if (self) {
        _actName = @"";
        _sendStatus = @"";
        _prizeName = @"";
        _winnerId = @"";
        _winnerTime = @"";
        _isInvalid = 0;
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    return [[self alloc] initWithDictionary:dictionary];
}
- (void)setValue:(id)value forUndefinedKey:(NSString*)key
{}
- (void)setActName:(NSString*)actName{
    _actName = [[SEGUtils ValueToString:actName]copy];
}
- (void)setSendStatus:(NSString*)sendStatus{
    _sendStatus = [[SEGUtils ValueToString:sendStatus]copy];
}
- (void)setPrizeName:(NSString*)prizeName{
    _prizeName = [[SEGUtils ValueToString:prizeName]copy];
}
- (void)setWinnerId:(NSString*)winnerId{
    _winnerId = [[SEGUtils ValueToString:winnerId]copy];
}
- (void)setWinnerTime:(NSString*)winnerTime{
    _winnerTime = [[SEGUtils ValueToString:winnerTime]copy];
}
- (void)setIsInvalid:(NSInteger)isInvalid{
    _isInvalid = isInvalid;
}
@end
